


package com.embedsky.administrator.mycardemulation.message;

import android.view.View;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

import com.embedsky.administrator.mycardemulation.R;


/**
 * @Des:
 * @Author: hang.zhao
 * @Date: 2023/2/28
 */
public class MyViewHolder extends RecyclerView.ViewHolder {

    public MyViewHolder(@NonNull View itemView) {
        super(itemView);
    }
}

class LeftViewHolder extends MyViewHolder {
    TextView textView;

    public LeftViewHolder(@NonNull View itemView) {
        super(itemView);
        textView = itemView.findViewById(R.id.leftMsg);
    }

    public TextView getLeftMsg() {
        return textView;
    }
}

class RightViewHolder extends MyViewHolder {
    TextView textView;

    public RightViewHolder(@NonNull View itemView) {
        super(itemView);
        textView = itemView.findViewById(R.id.rightMsg);
    }

    public TextView getRightMsg() {
        return textView;
    }
}